Ext.define("PrjAPLean.view.bcd.paview.requestForm", {
    extend: "Ext.panel.Panel",
    layout: {
        type: "table",
        columns: 6,
        tableAttrs: {
            style: {
                width: '100%'
            }
        }
    },
    requires: ["PrjAPLean.view.bcd.paview.requestFormController", "PrjAPLean.view.bcd.paview.requestFormModel"],
    controller: "bcd-paview-requestform",
    viewModel: {
        type: "bcd-paview-requestform"
    },
    items: [{
        xtype: "label",
        flex: 1,
        text: "PA NO."
    }, {
        xtype: "textfield",
        flex: 1,
        itemId: "paNo",
        bind: "{paNo}"
    }, {
        xtype: "label",
        flex: 1,
        text: "PA Applicant"
    }, {
        xtype: "textfield",
        flex: 1,
        itemId: "paApplicant",
        bind: "{paApplicant}"
    }, {
        xtype: "label",
        flex: 1,
        text: "PA Owner"
    }, {
        xtype: "textfield",
        flex: 1,
        itemId: "paOwner",
        bind: "{paOwner}"
    }, {
        xtype: "label",
        flex: 1,
        text: "PA Name"
    }, {
        xtype: "textfield",
        flex: 1,
        itemId: "paName",
        bind: "{paName}"
    }, {
        xtype: "label",
        flex: 1,
        text: "KPI"
    }, {
        xtype: "textfield",
        flex: 1,
        itemId: "paKPI",
        bind: "{paKPI}"
    }, {
        xtype: "label",
        flex: 1,
        text: "Total Budget"
    }, {
        xtype: "textfield",
        flex: 1,
        itemId: "paTotalBudget",
        bind: "{paTotalBudget}"
    }, {
        xtype: "label",
        flex: 1,
        text: "Year"
    }, {
        xtype: "textfield",
        flex: 1,
        itemId: "paYear",
        bind: "{start_yyyy}"
    }, {
        xtype: "label",
        flex: 1,
        text: "From"
    }, {
        xtype: "textfield",
        flex: 1,
        itemId: "paFrom",
        bind: "{start_mm}"
    }, {
        xtype: "label",
        flex: 1,
        text: "To"
    }, {
        xtype: "textfield",
        flex: 1,
        itemId: "paTo",
        bind: "{end_yyyy}"
    }, {
        xtype: "label",
        flex: 1,
        text: "Project Objective"
    }, {
        xtype: "textarea",
        flex: 1,
        itemId: "paProjectObjective",
        bind: "{paProjectObjective}"
    }, {
        xtype: "label",
        flex: 1,
        text: "Project Description"
    }, {
        xtype: "textarea",
        flex: 1,
        itemId: "paProjectDescription",
        bind: "{paProjectDescription}"
    }]
});